/*
 * TMap Designer - A Thematic Map design software
 * Copyright (C) 2006 World Health Organization
 * http://www.who.int
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package who.tmap.bo;

import who.tmap.bo.cd.CartographicDisplay;

/**
 * Defines what a thematic map is made of
 * 
 * @author stl
 */
public interface ThematicMap extends BizObject {

    void setBaseMap( BaseMap baseMap );
    BaseMap getBaseMap();
    
    void setData( Attrs data );
    Attrs getData();
    
    void setCartographicDisplay( CartographicDisplay cartographicDisplay );
    CartographicDisplay getCartographicDisplay();

    void setAnnotations( Annotations annotations );
    Annotations getAnnotations();

	ThematicMap shallowClone();
	
	/**
	 * Are all the information embedded (.tma)
	 * or are there links to other files (.tml)
	 * @param linkedFile
	 */
	void setLinkedFile( boolean linkedFile );
	boolean isLinkedFile();
	
	void setBaseMapLinkedFileName( String fileName );
	String getBaseMapLinkedFileName();
	
	void setDataLinkedFileName( String fileName );
	String getDataLinkedFileName();
	
	void setCartographicDisplayLinkedFileName( String fileName );
	String getCartographicDisplayLinkedFileName();
	
	void setAnnotationsLinkedFileName( String fileName );
	String getAnnotationsLinkedFileName();
	
	void setBackgroundImageLinkedFileName( String fileName );
	String getBackgroundImageLinkedFileName();

}
